package com.fonda.westlake.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 节目信息
 * </p>
 *
 * @author Wu
 * @since 2023-01-05
 */
@TableName("zw_mc_program")
public class McProgram implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 节点编号
     */
    private Integer nodeId;

    /**
     * 市平台返回节目唯一编码
     */
    private String uuid;

    /**
     * 节目名称
     */
    private String name;

    /**
     * 图片外网URL
     */
    private String coverUrl;

    /**
     * 视频文件外网URL
     */
    private String videoUrl;

    /**
     * 主控器唯一编码
     */
    private String mcUuid;

    /**
     * 分辨率：宽
     */
    private Integer width;

    /**
     * 分辨率：高
     */
    private Integer height;

    /**
     * 视频秒数
     */
    private Integer duration;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getMcUuid() {
        return mcUuid;
    }

    public void setMcUuid(String mcUuid) {
        this.mcUuid = mcUuid;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    @Override
    public String toString() {
        return "McProgram{" +
        "id=" + id +
        ", nodeId=" + nodeId +
        ", uuid=" + uuid +
        ", name=" + name +
        ", coverUrl=" + coverUrl +
        ", videoUrl=" + videoUrl +
        ", mcUuid=" + mcUuid +
        ", width=" + width +
        ", height=" + height +
        ", duration=" + duration +
        "}";
    }
}
